package com.gwj.rpc.Controller;

import com.gwj.rpc.sevice.dobbozookeepersevice;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DobbozookeeperController {

    @Reference(version = "1.0.0")
    private dobbozookeepersevice dobbozookeeperseviceImpl;

    @RequestMapping("/sayhello")
    public String ins(){
        dobbozookeeperseviceImpl.sayhello();
        return "sayhello";
    }
}